'use strict'

let Koa = require('koa');
let bodyparser = require('koa-bodyparser');
let controllers = require('./controllers');
let templating = require('./templating');


let app = new Koa();

app.use(bodyparser());
app.use(templating);
app.use(controllers());

let port = 3010;

app.listen(port);
console.log(`http://localhost:${port}`);